package com.xjaq.dify.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("文件上传响应")
public class UploadFileResponse {
    
    @ApiModelProperty("文件ID")
    private String id;
    
    @ApiModelProperty("文件名")
    private String name;
    
    @ApiModelProperty("文件大小（byte）")
    private Integer size;
    
    @ApiModelProperty("文件后缀")
    private String extension;
    
    @ApiModelProperty("文件 mime-type")
    private String mimeType;
    
    @ApiModelProperty("上传人 ID")
    private String createdBy;
    
    @ApiModelProperty("上传时间")
    private Long createdAt;
}